<!-- 表格内容,此组件还用于生成导出文件,所以不应该依赖vue组件相关的上下文 -->
<script lang="ts" setup>
import {
	DANGER_CHEMICAL_TYPE_OPTIONS,
	getEnumOptionsField,
} from "@/config/enum-options";
defineOptions({ name: "SheetItem" });
</script>

<template>
	<el-table-column label="序号" width="60" type="index" fixed="left" />
	<el-table-column label="危化品种类" prop="type" />
  <el-table-column v-slot="{ row }" label="危化品种类" prop="type">
		{{ getEnumOptionsField([...DANGER_CHEMICAL_TYPE_OPTIONS], "label", row.type) }}
	</el-table-column>
	<el-table-column label="危化品名称" prop="name" />
	<el-table-column label="重点监控参数" prop="monitorParams" />
	<el-table-column label="责任人" prop="responsiblePerson" />
	<el-table-column label="联系电话" prop="connectPhone" />
	<el-table-column label="应急预案" prop="planName" />
</template>
